package com.wmx.entity;

import java.util.concurrent.Callable;

/**
 * @author:wmx 2025-03-10 19:16
 * 1、功能:
 * 2、参数{
 * <p>
 * <p>
 * }
 **/
public class MyCallable implements Callable<Integer> {
    private int num3 = 0;
    public MyCallable(int num1,int num2){
        for (int i = num1; i <= num2; i--) {
            this.num3 += num1 - num2;
        }

    }
    @Override
    public Integer call() throws Exception {
        return num3;
    }
}
